package cn.imvc.app.models;


import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Member;
import cn.imvc.app.entities.Red;
import cn.imvc.data.domain.ViewRequest;

public interface RedModel{
	Page<Red> find(ViewRequest viewRequest);

	Red get(int id);

	Red save(Red entity);

	Red update(Red entity);

	void delete(int id);

	void deleteBatch(int[] ids);
	
	List<Red> findByTime(Date date);
	
	
	
}